{include file="public/header" /}
<body>
<div class="layui-card">
  <a class="layui-btn layui-btn-normal"  onclick="window.history.back(-1);">返回</a>
  <div class="layui-card-header">收货人信息</div>
  <div class="layui-card-body layui-text">
    <table class="layui-table">
      <colgroup>
        <col width="100">
        <col>
      </colgroup>
      <tbody>
      <tr>
        <td>收货人</td>
        <td style="padding-bottom: 0;">
          <script type="text/html" template>
            <img style="display: inline-block; width: 50px; height: 50px;" src= {$order['icon']}>
           {$order['receipt_name']}
          </script>
        </td>
      </tr>
      <tr>
        <td>收货地址</td>
        <td>
          <script type="text/html" template>
            {$order['address']}
          </script>
        </td>
      </tr>
      <tr>
        <td>手机号码</td>
        <td>
          <script type="text/html" template>
           {$order.receipt_mobile}
          </script>
        </td>
      </tr>
      </tbody>
    </table>
  </div>
</div>
<div class="layui-card">
  <div class="layui-card-header">订单信息</div>
  <div class="layui-card-body layui-text">
    <table class="layui-table">
      <colgroup>
        <col width="100">
        <col>
      </colgroup>
      <tbody>
      <tr>
        <td>订单编号</td>
        <td style="padding-bottom: 0;">
          <script type="text/html" template>
            {$order['order_sn']}
          </script>
        </td>
      </tr>
      <tr>
        <td>订单价格</td>
        <td>
          <script type="text/html" template>
            ￥{$order['order_amount']}
          </script>
        </td>
      </tr>
      <tr>
        <td>营销类型</td>
        <td>
          <script type="text/html" template>
            {$order.marketing_type}
          </script>
        </td>
      </tr>
      <tr>
        <td>订单状态</td>
        <td>
          <script type="text/html" template>
            {$order.order_status}
          </script>
        </td>
      </tr>
      <tr>
        <td>订单创建时间</td>
        <td>
          <script type="text/html" template>
            {$order.create_time}
          </script>
        </td>
      </tr>
      <tr>
        <td>订单生成时间</td>
        <td>
          <script type="text/html" template>
            {$order.order_time}
          </script>
        </td>
      </tr>
      </tbody>
    </table>
  </div>
</div>
<div class="layui-card">
  <div class="layui-card-header">付款信息</div>
  <div class="layui-card-body layui-text">
    <table class="layui-table">
      <colgroup>
        <col width="100">
        <col>
      </colgroup>
      <tbody>
      <tr>
        <td>付款方式</td>
        <td style="padding-bottom: 0;">
          <script type="text/html" template>
            {$order['pay_way']}
          </script>
        </td>
      </tr>
      <tr>
        <td>付款时间</td>
        <td>
          <script type="text/html" template>
            {$order['pay_time']}
          </script>
        </td>
      </tr>
      <tr>
        <td>商品价格</td>
        <td>
          <script type="text/html" template>
            ￥{$order.order_original_price}
          </script>
        </td>
      </tr>
      <tr>
        <td>实付价格</td>
        <td>
          <script type="text/html" template>
            ￥{$order.order_amount}
          </script>
        </td>
      </tr>
      <tr>
        <td>优惠金额</td>
        <td>
          <script type="text/html" template>
           -￥{$order.store_offer_money}
          </script>
        </td>
      </tr>
      <tr>
        <td>运费金额</td>
        <td>
          <script type="text/html" template>
           ￥0
          </script>
        </td>
      </tr>
      </tbody>
    </table>
  </div>
</div>

<div class="layui-card">
<table class="layui-table" lay-size="sm">
  <colgroup>
    <col width="220">
    <col width="220">
    <col width="150">
    <col width="150">
    <col width="150">
    <col width="150">
    <col width="100">
  </colgroup>
  <thead>
  <tr>
    <th>商品</th>
    <th>商品编号</th>
    <th>价格</th>
    <th>优惠券</th>
    <th>数量</th>
  </tr>
  </thead>
  <tbody>
  {volist name="order_goods" id="vo"}
  <tr>
    <td> <img style="display: inline-block; width: 50px; height: 50px;" src= {$vo.thumb_image_url}>{$vo.goods_name}</td>
    <td>{$vo.goods_id}</td>
    <td>￥{$vo.price}</td>
    <td>-￥{$vo.preferential_price}</td>
    <td>{$vo.goods_num}</td>
  </tr>
  {/volist}
  </tbody>
</table>
</div>
  <script>
  layui.config({
    base: '__config__/', //静态资源所在路径
    version: new Date().getTime()
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'console', 'sample'],function(){

  });
  </script>
</body>
</html>

